﻿using OpenQA.Selenium;

namespace Fluent.HtmlModel
{
    public class HtmlControl<TPage> : HtmlElement<TPage>
        where TPage : WebPageBase
    {
        public HtmlControl(TPage page, Finder finder)
            : base(page, finder) { }

        #region IHtmlControl Members

        public void ClearContent()
        {
            this.DriverElement.Clear();
        }

        #endregion
    }
}
